//
//  Player.h
//  TabulaImaginarius
//
//  Created by TA2 on 3/25/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Token.h"

@interface Player : NSObject {
	NSString *alias;
	NSString *ip;
	UInt16 port;
	BOOL isHost;
	Token *currentlyMovingToken;
}

@property (nonatomic, retain) NSString *alias;
@property (nonatomic, retain) NSString *ip;
@property (nonatomic) UInt16 port;
@property (nonatomic) BOOL isHost;
@property (nonatomic, retain) Token *currentlyMovingToken;

- (id)init;
- (BOOL)isEqual:(id)other;
- (BOOL)isEqualToPlayer:(Player *)otherPlayer;
- (NSUInteger)hash;

@end
